From: Mike Baker Date: Sat, 4 Nov 2006 02:48:46 +0000 (+0000) Subject: bugfix X-Git-Tag: whiterussian_rc6~9 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org///%22https:/collectd.org/?a=commitdiff_plain;h=1536df07c727add412290d0f55e47c977748f964;p=openwrt%2Fsvn-archive%2Fopenwrt.git bugfix SVN-Revision: 5436 --- diff --git a/openwrt/package/base-files/default/etc/preinit b/openwrt/package/base-files/default/etc/preinit index ced2bd1024..5b315927b3 100755 --- a/openwrt/package/base-files/default/etc/preinit +++ b/openwrt/package/base-files/default/etc/preinit @@ -14,7 +14,7 @@ ifname=eth0 # WAP54G, WL-HDD [ "$(nvram get boardnum)" = "2" \ -o \( "$(nvram get boardnum)" = "asusX" \ - -a "$(nvram get et1phyaddr)" -eq 1 \) ] && ifname="eth1" + -a "$(($(nvram get et1phyaddr)))" -eq 1 \) ] && ifname="eth1" insmod switch-core insmod switch-robo || insmod switch-adm || rmmod switch-core